package com.lekang.le.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lekang.common.annotation.Excel;
import com.lekang.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName NusingPlan
 * @Description TODO
 * @Author yangyuanhang
 * @Date 2025年10月16日 23:33
 * @Version 1.0
 */
public class NusingPlan extends BaseEntity {

    private Long nursingItemId;
    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm")
    private Date serviceTime;
    private Long executionCycle;
    private Long executionFrequency;

    public Long getNursingItemId() {
        return nursingItemId;
    }

    public void setNursingItemId(Long nursingItemId) {
        this.nursingItemId = nursingItemId;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public Long getExecutionCycle() {
        return executionCycle;
    }

    public void setExecutionCycle(Long executionCycle) {
        this.executionCycle = executionCycle;
    }

    public Long getExecutionFrequency() {
        return executionFrequency;
    }

    public void setExecutionFrequency(Long executionFrequency) {
        this.executionFrequency = executionFrequency;
    }

    @Override
    public String toString() {
        return "NusingPlan{" +
                "nursingItemId=" + nursingItemId +
                ", serviceTime=" + serviceTime +
                ", executionCycle=" + executionCycle +
                ", executionFrequency=" + executionFrequency +
                '}';
    }
}
